package com.favccxx.message.domain.message.entity.process;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.List;

@Data
public class MessageProcessRule {

    /**
     * PREPROCESS
     * PROCESS
     */
    private String level;

    /**
     * 消息处理后的对象名称
     */
    private String name;

    @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
    private List<MapRule> rules;


}
